<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	template="/WEB-INF/templates/template2.xhtml">
	<ui:define name="content1">
		<h:form id="formUsuarioHome" >

			<p:panel header="Controle de Acesso" style="wigth : 80">
				<h:panelGrid columns="2" id="painel" width="80">

					<h:outputText value="Nome" size="20" />
					<p:inputText id="usuarioNome" size="20"
						value="#{usuarioHome.usuario.cpf}"
						title="informe o nome do usuario" />

					<h:outputText value="Senha" size="20" />
					<p:password id="usuarioSenha" size="20"
						value="#{usuarioHome.usuario.senha}"
						title="informe a senha do usuario" />
					
				</h:panelGrid>
			</p:panel>
			<p:commandButton value="Logar" action="#{usuarioHome.login}" update="painel" />

		</h:form>

	</ui:define>
</ui:composition>
